<?
//final check with mongo
/**
 * @name         Security Library Constants
 * @version      1.0
 * @package      framework
 * @author       Ravindra De Silva <ravindra@opensource.lk><ravidesilva@iee.org>
 * @author       Greg Miernicki <g@miernicki.com> <gregory.miernicki@nih.gov>
 * @about        Developed in whole or part by the U.S. National Library of Medicine
 * @link         https://pl.nlm.nih.gov/about
 * @link         http://sahanafoundation.org
 * @license	 http://www.gnu.org/licenses/lgpl-2.1.html GNU Lesser General Public License (LGPL)
 * @lastModified 2011.0801
 */


define("SALT_LENGTH",    9);
define("LOCK",           900);
define("LOGGEDIN",       "logged in");
define("LOGGEDOUT",      "logged out");
define("LOGINFAILED",    "login failed");
define("DENIED",         1);
define("ALLOWED",        2);
define("ANONYMOUS_USER", -2);
define("ADMIN",          1);
define("REGISTERED",     2);
define("ANONYMOUS",      3);
define("SUPERUSER",      4);
define("ORGADMIN",       5);
define("VOLCOORDINATOR", 6);
define("CAMPADMIN",      7);
define("ADMINUSER",      1);
